Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix wrong install location for IPQ6018 #42

Open
wants to merge 1 commit into
base: NSS-12.5-K6.x
Choose a base branch
from

Conversation

PIPIPIG233666
Copy link

Otherwise nss complains about missing fw

@qosmio
Copy link
Owner

qosmio commented Jan 14, 2025

This was done intentionally to workaround firmware upgrading issues. NSS would always load from the ROM image early on in the boot sequence, so even if you later decided to manually upgrade the BIN files, it would always load the one baked into the image.

There is a hotplug script that's a part of qca-nss-drv that uses symlinking to workaround the issue.

/etc/hotplug.d/firmware/10-qca-nss-fw

You should be seeing something like this whenever booting up.

[Mon Jan 13 01:33:17 2025] hotplug: symlinking qca-nss0.bin to /lib/firmware/qca-nss0-retail.bin
[Mon Jan 13 01:33:18 2025] qca-nss 39000000.nss: NSS FW Version: NSS.HK.11.4.0.5-6-R
[Mon Jan 13 01:33:18 2025] qca-nss 39000000.nss: fw of size 835960 bytes copied to addr: 40000000, nss_id: 0
[Mon Jan 13 01:33:18 2025] qca-nss 39000000.nss: NSS core 0 booted successfully
[Mon Jan 13 01:33:18 2025] hotplug: symlinking qca-nss1.bin to /lib/firmware/qca-nss1-retail.bin
[Mon Jan 13 01:33:18 2025] qca-nss 39400000.nss: fw of size 292296 bytes copied to addr: 40800000, nss_id: 1
[Mon Jan 13 01:33:18 2025] qca-nss 39400000.nss: NSS core 1 booted successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants